using System;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using RFS.BizLogic.PaiShi.Ports;
using RFS.WPF.StartUp;
using RFS.WPF.utils;

namespace RFS.WPF.Views.Settings
{
    public partial class HolidayPlansView : Window
    {
        private SysVm _vm;
        
        public HolidayPlansView(SysVm vm)
        {
            InitializeComponent();

            _vm = vm;


            DataContext = _vm ;
            
        }
        
        void Runb(Action act)
        {
            
            Cursor= Cursors.Wait;
            try
            {
                act?.Invoke();
            }
            finally
            {
                Cursor= Cursors.Arrow;

            }
            
        }

        
 

        private void ButtonBasePre_OnClick(object sender, RoutedEventArgs e)
        {
            
             
        }

        private void ButtonBaseNext_OnClick(object sender, RoutedEventArgs e)
        {
            
             

        }
    }
}